#!/bin/bash

INSTALLATION_PATH=$1
CAT_HOME=$2
TEMP_DIRECTORY=$INSTALLATION_PATH/work

#Create a folder in the webapps directory
mkdir $CAT_HOME/webapps/swf-qudex-spreadsheet/
cp -R $TEMP_DIRECTORY/swf-qudex-spreadsheet/ $CAT_HOME/webapps/swf-qudex-spreadsheet/
echo $? >> $TEMP_DIRECTORY/output.txt
exit $?
